home *** CD-ROM | disk | FTP | other *** search
- /*
- $VER: PreloadImages.awebrx 1.0 (28.3.00) (c) Neil Bothwick, Wirenet
- Preload images into AWeb's cache, for immediate display when a page is loaded
- */
-
- /* ;;; Initialise */
- options results
- AWebPort = address()
- if ~abbrev(AWebPort,'AWEB.') then do
- do i = 1 to 25
- if show('P','AWEB.'i) then do
- AWebPort = 'AWEB.'i
- leave
- end
- end
- if ~abbrev(AWebPort,'AWEB.') then exit
- address(AWebPort)
- end
- ;;;
- /* ;;; Open image list and preload each one */
- /*
- if ~open(in,'images/PreloadList','R') then exit
- do until eof(in)
- Image = readln(in)
- 'load "images/'Image'"'
- end
- call close(in)
- */
- 'load "html/Trees/TheCD.html"'
- ;;;
-